package com.ruoyi.draw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * NovelChapter对象 novel_chapter
 * 
 * @author Locke
 * @date 2025-10-25
 */
public class NovelChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 小说ID */
    @Excel(name = "小说ID")
    private Long novelId;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String novelChapter;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 涉及人物 */
    @Excel(name = "涉及人物")
    private String refRole;

    /** 概述 */
    @Excel(name = "概述")
    private String interpretation;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNovelId(Long novelId) 
    {
        this.novelId = novelId;
    }

    public Long getNovelId() 
    {
        return novelId;
    }

    public void setNovelChapter(String novelChapter) 
    {
        this.novelChapter = novelChapter;
    }

    public String getNovelChapter() 
    {
        return novelChapter;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setRefRole(String refRole) 
    {
        this.refRole = refRole;
    }

    public String getRefRole() 
    {
        return refRole;
    }

    public void setInterpretation(String interpretation) 
    {
        this.interpretation = interpretation;
    }

    public String getInterpretation() 
    {
        return interpretation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("novelId", getNovelId())
            .append("novelChapter", getNovelChapter())
            .append("filePath", getFilePath())
            .append("refRole", getRefRole())
            .append("interpretation", getInterpretation())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
